<template>
  <el-breadcrumb separator-class="el-icon-arrow-right">
    <el-breadcrumb-item to="/admin/dashoard">首页</el-breadcrumb-item>
    <template v-for="(item, index) in items">
      <el-breadcrumb-item :key="index">{{ item }}</el-breadcrumb-item>
    </template>
  </el-breadcrumb>
</template>

<script>
export default {
  props: {
    items: {
      type: Array,
      default: () => []
    }
  }
}
</script>

<style lang="scss" scoped></style>
